<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib prefix="html" uri="/WEB-INF/struts-html.tld" %>

<jsp:useBean id="table" scope="session" class="cal.TableBean" />

<% String time = request.getParameter ("time"); %>
<% String msghour = "cal."+util.HTMLFilter.filter(time); %>

<font size=5><bean:message key="cal.addevent.msg" /><br/><br />
	<bean:message key="cal.addevent.date" /> <%= table.getDate() %><br/>
	<bean:message key="cal.addevent.time" /> <bean:message key="<%= msghour %>" />
</font>

<form method=POST action=AddEvent.do><br/><br/>
	<input name="date" type=HIDDEN value="<% table.getDate();%>"><br/>
	<input name="time" type=HIDDEN value="<%= util.HTMLFilter.filter(time) %>"/><br/>
	<h2><bean:message key="cal.addevent.desc" /> <input name="description" type=TEXT size=20></h2><br/>
	<input type=SUBMIT value="submit">
</form>
